[INFO] fetching crate bztree 0.2.0...
[INFO] checking bztree-0.2.0 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate bztree 0.2.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate bztree 0.2.0
[INFO] finished tweaking crates.io crate bztree 0.2.0
[INFO] tweaked toml for crates.io crate bztree 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bztree 0.2.0 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 88 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.3.6 (available: v0.7.0)
[INFO] [stderr]       Adding jemallocator v0.3.2 (available: v0.5.4)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3646ec4c2a4e77b62e47e80440ea1ac6675db44cfc8d7b91dfb45e50e723185
[INFO] running `Command { std: "docker" "start" "-a" "c3646ec4c2a4e77b62e47e80440ea1ac6675db44cfc8d7b91dfb45e50e723185", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3646ec4c2a4e77b62e47e80440ea1ac6675db44cfc8d7b91dfb45e50e723185", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3646ec4c2a4e77b62e47e80440ea1ac6675db44cfc8d7b91dfb45e50e723185", kill_on_drop: false }`
[INFO] [stdout] c3646ec4c2a4e77b62e47e80440ea1ac6675db44cfc8d7b91dfb45e50e723185
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc4aae977c06e984d8ceb5903cb4f5e7086ec687340f46799b20b3136f9272e3
[INFO] running `Command { std: "docker" "start" "-a" "dc4aae977c06e984d8ceb5903cb4f5e7086ec687340f46799b20b3136f9272e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking regex-syntax v0.8.6
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking mwcas v0.2.0
[INFO] [stderr]    Compiling jemalloc-sys v0.3.2
[INFO] [stderr]     Checking bztree v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:792:9
[INFO] [stdout]     |
[INFO] [stdout] 792 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 796 |     ) -> MergeResult<K, V> {
[INFO] [stdout]     |          ----------------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 796 |     ) -> MergeResult<'_, K, V> {
[INFO] [stdout]     |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:885:19
[INFO] [stdout]     |
[INFO] [stdout] 885 |     fn merge_root(&self, root_ptr: &NodePointer<K, V>, guard: &Guard) -> MergeResult<K, V> {
[INFO] [stdout]     |                   ^^^^^ the lifetime is elided here                      ----------------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 885 |     fn merge_root(&self, root_ptr: &NodePointer<K, V>, guard: &Guard) -> MergeResult<'_, K, V> {
[INFO] [stdout]     |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:923:9
[INFO] [stdout]     |
[INFO] [stdout] 923 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 930 |     ) -> Result<InterimNode<K, V>, MergeResult<K, V>> {
[INFO] [stdout]     |                                    ----------------- the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 930 |     ) -> Result<InterimNode<K, V>, MergeResult<'_, K, V>> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/node/mod.rs:29:18
[INFO] [stdout]     |
[INFO] [stdout] 29  |         unsafe { &mut *($node as *const Node<K, V> as *mut Node<K, V>) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |         let entry = &mut deref_mut!(self).data_block[index];
[INFO] [stdout]     |                          ---------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `deref_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/node/mod.rs:29:18
[INFO] [stdout]     |
[INFO] [stdout] 29  |         unsafe { &mut *($node as *const Node<K, V> as *mut Node<K, V>) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |         let entry = &mut deref_mut!(self).data_block[kv_index];
[INFO] [stdout]     |                          ---------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]     = note: this error originates in the macro `deref_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/node/mod.rs:29:18
[INFO] [stdout]     |
[INFO] [stdout] 29  |         unsafe { &mut *($node as *const Node<K, V> as *mut Node<K, V>) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |             let entry = &mut deref_mut!(self).data_block[index];
[INFO] [stdout]     |                              ---------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]     = note: this error originates in the macro `deref_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/node/mod.rs:376:33
[INFO] [stdout]     |
[INFO] [stdout] 376 |     pub fn range<'g, Q, Range>(&'g self, key_range: Range, guard: &'g Guard) -> NodeScanner<K, V>
[INFO] [stdout]     |                                 ^^                                 ^^           ----------------- the same lifetime is hidden here
[INFO] [stdout]     |                                 |                                  |
[INFO] [stdout]     |                                 the lifetime is named here         the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'g`
[INFO] [stdout]     |
[INFO] [stdout] 376 |     pub fn range<'g, Q, Range>(&'g self, key_range: Range, guard: &'g Guard) -> NodeScanner<'g, K, V>
[INFO] [stdout]     |                                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/node/mod.rs:385:22
[INFO] [stdout]     |
[INFO] [stdout] 385 |     pub fn iter<'g>(&'g self, guard: &'g Guard) -> NodeScanner<K, V>
[INFO] [stdout]     |                      ^^               ^^           ----------------- the same lifetime is hidden here
[INFO] [stdout]     |                      |                |
[INFO] [stdout]     |                      |                the lifetime is named here
[INFO] [stdout]     |                      the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'g`
[INFO] [stdout]     |
[INFO] [stdout] 385 |     pub fn iter<'g>(&'g self, guard: &'g Guard) -> NodeScanner<'g, K, V>
[INFO] [stdout]     |                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/node/mod.rs:29:18
[INFO] [stdout]     |
[INFO] [stdout] 29  |         unsafe { &mut *($node as *const Node<K, V> as *mut Node<K, V>) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 888 |         let self_mut = deref_mut!(self);
[INFO] [stdout]     |                        ---------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]     = note: this error originates in the macro `deref_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bztree` (lib) due to 4 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "dc4aae977c06e984d8ceb5903cb4f5e7086ec687340f46799b20b3136f9272e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc4aae977c06e984d8ceb5903cb4f5e7086ec687340f46799b20b3136f9272e3", kill_on_drop: false }`
[INFO] [stdout] dc4aae977c06e984d8ceb5903cb4f5e7086ec687340f46799b20b3136f9272e3
